import { lazy } from "react";
import {createBrowserRouter } from 'react-router-dom'
import Home from "../page/Home";
import List from "../page/List";
import Order from "../page/Order";
import Xq from "../page/Xq";

const routes=createBrowserRouter([
    {
        path:"/",
        element:<Home></Home>
    },
    {
        path:"/list",
        element:<List></List>
    },
    {
        path:"/path",
        element:<Order></Order>
    },
    {
        path:"/xq/:id",
        element:<Xq></Xq>
    }
])

export default routes